package com.atguigu.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Miracle yaochengwei on 2020/9/1 13:09
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除数据库（mysql）不然报错（不去自动加载数据库信息）
@ComponentScan("com.atguigu")//扫描包文件
public class MsmApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsmApplication.class,args);
    }
}
